﻿namespace Jinjia.Approve.Entity.Entity
{
    ///<summary>
    ///佣金结算明细表-中台PO采购单明细
    ///表commission_account_detail_tbl的实体类
    ///</summary>
    public class commission_account_detail_tbl
    {
        /// <summary>
        /// id
        /// </summary>
        public int id { get; set; }

        /// <summary>
        /// 采购单号
        /// </summary>
        public string purchase_no { get; set; }

        /// <summary>
        /// 品牌
        /// </summary>
        public string brand_name { get; set; }

        /// <summary>
        /// 中台-商品编码
        /// </summary>
        public string spec_no { get; set; }

        /// <summary>
        /// 采购单数量
        /// </summary>
        public int num { get; set; }

        /// <summary>
        /// 采购价
        /// </summary>
        public decimal price { get; set; }

        /// <summary>
        /// 采购单金额（rmb）
        /// </summary>
        public decimal amount { get; set; }

        /// <summary>
        /// 采购单金额（原币）
        /// </summary>
        public decimal oversea_amount { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public decimal tax_rate { get; set; }

        /// <summary>
        /// 原币税前金额
        /// </summary>
        public decimal pre_tax_amount { get; set; }

        /// <summary>
        /// 成本+税费+运费等
        /// </summary>
        public decimal fix_price { get; set; }

        /// <summary>
        /// 汇率（下单日）
        /// </summary>
        public decimal rate { get; set; }

        /// <summary>
        /// 海外采购价（原币）
        /// </summary>
        public decimal oversea_purchase_price { get; set; }

        /// <summary>
        /// 供货店铺
        /// </summary>
        public string supply_shop { get; set; }

        /// <summary>
        /// 天猫店供货数
        /// </summary>
        public int tmall_num { get; set; }

        /// <summary>
        /// 佣金
        /// </summary>
        public decimal commission { get; set; }

        /// <summary>
        /// 原币单价
        /// </summary>
        public decimal oversea_price { get; set; }

        /// <summary>
        /// 实际金额
        /// </summary>
        public decimal actual_amount { get; set; }

        /// <summary>
        /// 折扣（%）
        /// </summary>
        public decimal discount { get; set; }

        /// <summary>
        /// 采购结算 税率
        /// </summary>
        public decimal purchase_tax_rate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 预期到达时间
        /// </summary>
        public System.DateTime expect_arrive_time { get; set; }

        /// <summary>
        /// 旺店通单价(RMB)
        /// </summary>
        public decimal wdt_price { get; set; }

        /// <summary>
        /// 税组
        /// </summary>
        public string tax_group { get; set; }

        /// <summary>
        /// 采购入库数量
        /// </summary>
        public decimal stockin_num { get; set; }

        /// <summary>
        /// 采购入库金额（RMB）
        /// </summary>
        public decimal stockin_amount { get; set; }

        /// <summary>
        /// 退货出库数量
        /// </summary>
        public decimal stockout_num { get; set; }

        /// <summary>
        /// 退货出库金额（RMB）
        /// </summary>
        public decimal stockout_amount { get; set; }

        /// <summary>
        /// 已对账数量
        /// </summary>
        public decimal checked_num { get; set; }

        /// <summary>
        /// 已开票金额
        /// </summary>
        public decimal invoiced_amount { get; set; }

        /// <summary>
        /// 已开票数量
        /// </summary>
        public decimal invoiced_num { get; set; }

        /// <summary>
        /// 箱规 36 支/箱
        /// </summary>
        public short quantity { get; set; }

        /// <summary>
        /// 可发库存
        /// </summary>
        public decimal stock_num { get; set; }

        /// <summary>
        /// 采购在途数量
        /// </summary>
        public decimal purchase_num { get; set; }

        /// <summary>
        /// 调拨在途数量
        /// </summary>
        public decimal transfer_num { get; set; }

        /// <summary>
        /// 7日销售量
        /// </summary>
        public decimal sevendays_sales_num { get; set; }

        /// <summary>
        /// 14日销量
        /// </summary>
        public decimal forteendays_sales_num_nopromotion { get; set; }

        /// <summary>
        /// 30日销量
        /// </summary>
        public decimal thirtydays_sales_num { get; set; }

        /// <summary>
        /// 是否来自于旺店通(标记：旺) 0:否;1:是;
        /// </summary>
        public short is_from_wdt { get; set; }

        /// <summary>
        /// 旺店通采购数量
        /// </summary>
        public decimal purchase_num_wdt { get; set; }

        /// <summary>
        /// 中台采购在途
        /// </summary>
        public decimal purchase_num_oak { get; set; }

        /// <summary>
        /// 交期（文本）
        /// </summary>
        public string delivery_time { get; set; }
    }
}